package com.zyt.service;

import com.zyt.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AddressService {
    List<Address> selectAllAddress(Integer userId);
    void deleteById(Integer addreddId);
    void updateSelectedState(Integer userId,Integer addressId);
    void insertAll(@Param("name") String name, @Param("address")String address, @Param("mobile")String mobile);
}
